//
//  ImageShowTableViewCell.m
//  Rail
//
//  Created by hychen on 2018/5/4.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import "ImageShowTableViewCell.h"

@interface ImageShowTableViewCell ()

@end
@implementation ImageShowTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.image1 addTapGestureWithTarget:self action:@selector(clickImage:)];
    [self.image2 addTapGestureWithTarget:self action:@selector(clickImage:)];
    [self.image3 addTapGestureWithTarget:self action:@selector(clickImage:)];
}

- (void)clickImage:(UIGestureRecognizer *)gesture {
    if (self.BlockClickImage) {
        self.BlockClickImage(gesture.view.tag);
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
